<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ogre_glTF: C:/YbalridSoftware/AnnwvynSDK64/Ogre_glTF/include/Ogre_glTF.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ogre_glTF
   </div>
   <div id="projectbrief">glTF import library for Ogre</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_ogre__gl_t_f_8hpp_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Ogre_glTF.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;Ogre.h&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;OgreItem.h&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;Ogre_glTF_DLL.hpp&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_ogre__gl_t_f.html">Ogre_glTF</a></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    <span class="comment">//Forward declare main class</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    <span class="keyword">class </span>glTFLoader;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_model_information.html">   14</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html">ModelInformation</a></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_model_information.html#a8f384f907b05d25364eb035e7a85f813">   19</a></span>&#160;        Ogre::Item* <a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html#a8f384f907b05d25364eb035e7a85f813">makeItem</a>(Ogre::SceneManager* smgr, Ogre::SceneMemoryMgrTypes sceneType = Ogre::SCENE_DYNAMIC)</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        {</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;            <span class="keyword">auto</span> item = smgr-&gt;createItem(<a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html#ae8a1964f828958a285ef2dce6324097f">mesh</a>, sceneType);</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i &lt; item-&gt;getNumSubItems(); ++i) { item-&gt;getSubItem(i)-&gt;setDatablock(<a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html#a30409c300254e8eaddd4ed3710b5eb3f">pbrMaterialList</a>[i]); }</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;            <span class="keywordflow">return</span> item;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        }</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_model_information.html#ae8a1964f828958a285ef2dce6324097f">   27</a></span>&#160;        Ogre::MeshPtr <a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html#ae8a1964f828958a285ef2dce6324097f">mesh</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_model_information.html#a30409c300254e8eaddd4ed3710b5eb3f">   29</a></span>&#160;        std::vector&lt;Ogre::HlmsDatablock*&gt; <a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html#a30409c300254e8eaddd4ed3710b5eb3f">pbrMaterialList</a>;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_model_information_1_1_model_transform.html">   32</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="struct_ogre__gl_t_f_1_1_model_information_1_1_model_transform.html">ModelTransform</a></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;            Ogre::Vector3 position = Ogre::Vector3::ZERO;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;            Ogre::Vector3 scale = Ogre::Vector3::UNIT_SCALE;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;            Ogre::Quaternion orientation = Ogre::Quaternion::IDENTITY;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        } transform;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    };</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">   43</a></span>&#160;    <span class="keyword">struct </span>[[deprecated]] <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    {</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#a3ed0ba7f6f859355493de78eb49cf8ec">   46</a></span>&#160;        Ogre::MeshPtr <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#a3ed0ba7f6f859355493de78eb49cf8ec">Mesh</a>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#add3d734b373fcf3091b42f3e755f59ac">   49</a></span>&#160;        Ogre::HlmsDatablock* <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#add3d734b373fcf3091b42f3e755f59ac">datablock</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    };</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">   53</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">glTFLoaderInterface</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#af55cba329954d9f2eade9415f05f37b7">~glTFLoaderInterface</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">   59</a></span>&#160;        <span class="keyword">enum class</span> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">LoadFrom</a> { FileSystem, ResourceManager };</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html">ModelInformation</a> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a89b5b19f69478db8179315b28256fa12">getModelData</a>(<span class="keyword">const</span> std::string&amp; modelName, <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">LoadFrom</a> loadLocation) = 0;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        [[deprecated]] <span class="keyword">virtual</span> Ogre::Item* <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a95e25de27484ea401c4310c5006f2f7c">getItemFromResource</a>(<span class="keyword">const</span> std::string&amp; name, Ogre::SceneManager* smgr) = 0;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        [[deprecated]] <span class="keyword">virtual</span> Ogre::Item* <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a6c3d2dd855148f7402a11f395461cf81">getItemFromFileSystem</a>(<span class="keyword">const</span> std::string&amp; fileName, Ogre::SceneManager* smgr) = 0;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        [[deprecated]] <span class="keyword">virtual</span> <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#aeb59bfe270efed0b8a6d549c6f748e85">getMeshFromResource</a>(<span class="keyword">const</span> std::string&amp; name) = 0;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        [[deprecated]] <span class="keyword">virtual</span> <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a75e780cc1748f4ee47cc1d7c810159b6">getMeshFromFileSystem</a>(<span class="keyword">const</span> std::string&amp; name) = 0;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    };</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_ogre__gl_t_f_1_1loader_adapter.html">   90</a></span>&#160;    <span class="keyword">class </span>Ogre_glTF_EXPORT <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    {</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="keyword">struct </span><a class="code" href="structloader_adapter_1_1impl.html">impl</a>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        std::unique_ptr&lt;impl&gt; pimpl;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        std::string adapterName;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>();</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        ~<a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>(<span class="keyword">const</span> <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        Ogre::MeshPtr getMesh() <span class="keyword">const</span>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        Ogre::HlmsDatablock* getDatablock(<span class="keywordtype">size_t</span> index = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordtype">size_t</span> getDatablockCount();</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <a class="code" href="struct_ogre__gl_t_f_1_1_model_information_1_1_model_transform.html">ModelInformation::ModelTransform</a> getTransform();</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        Ogre::Item* getItem(Ogre::SceneManager* smgr) <span class="keyword">const</span>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>(<a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp;&amp; other) noexcept;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp; operator=(<a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&amp;&amp; other) noexcept;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <span class="keywordtype">bool</span> isOk() <span class="keyword">const</span>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        std::string getLastError() <span class="keyword">const</span>;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    };</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">  147</a></span>&#160;    <span class="keyword">class </span>Ogre_glTF_EXPORT <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> final : <span class="keyword">public</span> <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">glTFLoaderInterface</a></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    {</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="keyword">struct </span><a class="code" href="structgl_t_f_loader_1_1gl_t_f_loader_impl.html">glTFLoaderImpl</a>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        std::unique_ptr&lt;glTFLoaderImpl&gt; loaderImpl;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>();</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>(<a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp;&amp; other) noexcept;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp; operator=(<a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp;&amp; other) noexcept;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        ~<a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>();</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a> loadFromFileSystem(<span class="keyword">const</span> std::string&amp; path) <span class="keyword">const</span>;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a> loadGlbResource(<span class="keyword">const</span> std::string&amp; name) <span class="keyword">const</span>;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <a class="code" href="struct_ogre__gl_t_f_1_1_model_information.html">ModelInformation</a> getModelData(<span class="keyword">const</span> std::string&amp; modelName, <a class="code" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">LoadFrom</a> loadLocation) <span class="keyword">override</span>;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        [[deprecated]] Ogre::Item* getItemFromResource(<span class="keyword">const</span> std::string&amp; name, Ogre::SceneManager* smgr) <span class="keyword">override</span>;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        [[deprecated]] Ogre::Item* getItemFromFileSystem(<span class="keyword">const</span> std::string&amp; fileName, Ogre::SceneManager* smgr) <span class="keyword">override</span>;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        [[deprecated]] <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> getMeshFromResource(<span class="keyword">const</span> std::string&amp; name) <span class="keyword">override</span>;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        [[deprecated]] <a class="code" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> getMeshFromFileSystem(<span class="keyword">const</span> std::string&amp; name) <span class="keyword">override</span>;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>(<span class="keyword">const</span> <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    };</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;}</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment">//To facilitate the use of the library:</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#include &quot;Ogre_glTF_OgreResource.hpp&quot;</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#include &quot;Ogre_glTF_OgrePlugin.hpp&quot;</span></div><div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_a56f74d9fb7f1b1aae1e962b3c2b18416"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">Ogre_glTF::glTFLoaderInterface::LoadFrom</a></div><div class="ttdeci">LoadFrom</div><div class="ttdoc">location where to load the data </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00059">Ogre_glTF.hpp:59</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_model_information_html"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_model_information.html">Ogre_glTF::ModelInformation</a></div><div class="ttdoc">Structure that contains the information of the model that you loaded. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00014">Ogre_glTF.hpp:14</a></div></div>
<div class="ttc" id="structloader_adapter_1_1impl_html"><div class="ttname"><a href="structloader_adapter_1_1impl.html">Ogre_glTF::loaderAdapter::impl</a></div><div class="ttdoc">Implementaiton of the adapter. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8cpp_source.html#l00022">Ogre_glTF.cpp:22</a></div></div>
<div class="ttc" id="class_ogre__gl_t_f_1_1loader_adapter_html"><div class="ttname"><a href="class_ogre__gl_t_f_1_1loader_adapter.html">Ogre_glTF::loaderAdapter</a></div><div class="ttdoc">Class that hold the loaded content of a glTF file and that can create Ogre objects from it...</div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00090">Ogre_glTF.hpp:90</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_aeb59bfe270efed0b8a6d549c6f748e85"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#aeb59bfe270efed0b8a6d549c6f748e85">Ogre_glTF::glTFLoaderInterface::getMeshFromResource</a></div><div class="ttdeci">virtual MeshAndDataBlock getMeshFromResource(const std::string &amp;name)=0</div></div>
<div class="ttc" id="class_ogre__gl_t_f_1_1gl_t_f_loader_html"><div class="ttname"><a href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">Ogre_glTF::glTFLoader</a></div><div class="ttdoc">Class that is responsible for initializing the library with the loader, and giving out...</div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00147">Ogre_glTF.hpp:147</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_a95e25de27484ea401c4310c5006f2f7c"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a95e25de27484ea401c4310c5006f2f7c">Ogre_glTF::glTFLoaderInterface::getItemFromResource</a></div><div class="ttdeci">virtual Ogre::Item * getItemFromResource(const std::string &amp;name, Ogre::SceneManager *smgr)=0</div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_model_information_html_a30409c300254e8eaddd4ed3710b5eb3f"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_model_information.html#a30409c300254e8eaddd4ed3710b5eb3f">Ogre_glTF::ModelInformation::pbrMaterialList</a></div><div class="ttdeci">std::vector&lt; Ogre::HlmsDatablock * &gt; pbrMaterialList</div><div class="ttdoc">List of materials that correspond to each of the submeshes in the model. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00029">Ogre_glTF.hpp:29</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_model_information_html_ae8a1964f828958a285ef2dce6324097f"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_model_information.html#ae8a1964f828958a285ef2dce6324097f">Ogre_glTF::ModelInformation::mesh</a></div><div class="ttdeci">Ogre::MeshPtr mesh</div><div class="ttdoc">Smart pointer to the loaded mesh. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00027">Ogre_glTF.hpp:27</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_mesh_and_data_block_html"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">Ogre_glTF::MeshAndDataBlock</a></div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00043">Ogre_glTF.hpp:43</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_mesh_and_data_block_html_add3d734b373fcf3091b42f3e755f59ac"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#add3d734b373fcf3091b42f3e755f59ac">Ogre_glTF::MeshAndDataBlock::datablock</a></div><div class="ttdeci">Ogre::HlmsDatablock * datablock</div><div class="ttdoc">Pointer to the HlmsDatablock. This should be a HlmsPbsDatablock. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00049">Ogre_glTF.hpp:49</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_a75e780cc1748f4ee47cc1d7c810159b6"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a75e780cc1748f4ee47cc1d7c810159b6">Ogre_glTF::glTFLoaderInterface::getMeshFromFileSystem</a></div><div class="ttdeci">virtual MeshAndDataBlock getMeshFromFileSystem(const std::string &amp;name)=0</div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_mesh_and_data_block_html_a3ed0ba7f6f859355493de78eb49cf8ec"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html#a3ed0ba7f6f859355493de78eb49cf8ec">Ogre_glTF::MeshAndDataBlock::Mesh</a></div><div class="ttdeci">Ogre::MeshPtr Mesh</div><div class="ttdoc">Pointer to the Ogre Mesh. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00046">Ogre_glTF.hpp:46</a></div></div>
<div class="ttc" id="structgl_t_f_loader_1_1gl_t_f_loader_impl_html"><div class="ttname"><a href="structgl_t_f_loader_1_1gl_t_f_loader_impl.html">Ogre_glTF::glTFLoader::glTFLoaderImpl</a></div><div class="ttdoc">Implementation of the glTF loader. Exist as a pImpl inside the glTFLoader class. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8cpp_source.html#l00108">Ogre_glTF.cpp:108</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_model_information_html_a8f384f907b05d25364eb035e7a85f813"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_model_information.html#a8f384f907b05d25364eb035e7a85f813">Ogre_glTF::ModelInformation::makeItem</a></div><div class="ttdeci">Ogre::Item * makeItem(Ogre::SceneManager *smgr, Ogre::SceneMemoryMgrTypes sceneType=Ogre::SCENE_DYNAMIC)</div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00019">Ogre_glTF.hpp:19</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_a6c3d2dd855148f7402a11f395461cf81"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a6c3d2dd855148f7402a11f395461cf81">Ogre_glTF::glTFLoaderInterface::getItemFromFileSystem</a></div><div class="ttdeci">virtual Ogre::Item * getItemFromFileSystem(const std::string &amp;fileName, Ogre::SceneManager *smgr)=0</div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1_model_information_1_1_model_transform_html"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1_model_information_1_1_model_transform.html">Ogre_glTF::ModelInformation::ModelTransform</a></div><div class="ttdoc">Local transform on the glTF node this model came from. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00032">Ogre_glTF.hpp:32</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_a89b5b19f69478db8179315b28256fa12"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a89b5b19f69478db8179315b28256fa12">Ogre_glTF::glTFLoaderInterface::getModelData</a></div><div class="ttdeci">virtual ModelInformation getModelData(const std::string &amp;modelName, LoadFrom loadLocation)=0</div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html_af55cba329954d9f2eade9415f05f37b7"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#af55cba329954d9f2eade9415f05f37b7">Ogre_glTF::glTFLoaderInterface::~glTFLoaderInterface</a></div><div class="ttdeci">virtual ~glTFLoaderInterface()=default</div><div class="ttdoc">Polymorphic dtor. </div></div>
<div class="ttc" id="namespace_ogre__gl_t_f_html"><div class="ttname"><a href="namespace_ogre__gl_t_f.html">Ogre_glTF</a></div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f__internal__utils_8hpp_source.html#l00005">Ogre_glTF_internal_utils.hpp:5</a></div></div>
<div class="ttc" id="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface_html"><div class="ttname"><a href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">Ogre_glTF::glTFLoaderInterface</a></div><div class="ttdoc">Plugin accessible interface that plugin users can use. </div><div class="ttdef"><b>Definition:</b> <a href="_ogre__gl_t_f_8hpp_source.html#l00053">Ogre_glTF.hpp:53</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><b>Ogre_glTF.hpp</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
